package com.health.dao;

import com.health.pojo.Information;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Classname InformationDao
 * @Description TODO
 * @Version 1.0.0
 * @Date 2023/3/20 19:26
 * @Author RainGrd
 */
public interface InformationDao {


    List<Information> selectInformationByCondition(@Param("queryString") String queryString);

    long selectTotalByCondition(@Param("queryString") String queryString);


    Information selectInformationById(@Param("id") Integer id);

    int insertInformation(Information information);

    int updateInformation(Information information);

    int deleteInformation(Integer id);
}
